a{
    display: inline-block;
}
#container{
    overflow: hidden;
}
/* 顶部 */
nav{
    width: 1280px;
    height: 76px;
    overflow: hidden;
    text-align: center;
    margin: 20px auto;
    padding: 0px 25px;
}
nav>div{
    height: 76px;
    float: left;
}
/* logo */
#logo{
    float: left;
    margin-right: 20px;
}
#logo>a{
    height: 76px;
}

/* 定位 */
.position{
    width: 110px;
    text-align: center;
    padding: 22px 0px;
}
.icon{
    font-size: 26px;
    vertical-align: middle;
}
nav>.position>a{
    height: 32px;
    color: #e9546b;
    font-weight: bold;
}

/* 导航 */
.nav{
    overflow: hidden;
    margin-left: 10px;
}
.nav>a{
    float: left;
    width: 120px;
    height: 76px;
    line-height: 74px;
}
.nav>a:hover, .nav>a.active{
    border-bottom: 2px solid #791a1e;
    color: #791a1e;
}

/* 搜索框 */
.search{
    margin: 0px 40px;
    padding-top: 22px;
}
.search>form>input{
    width: 200px;
    height: 31px;
    font-size: 14px;
    padding: 6px;
    border: 1px solid #ccc;
}
.search>form>button{
    width: 60px;
    height: 31px;
    background-color: #e95466;
    color: #fff;
    border: none;
}

/* 用户 */
.user{
    padding: 13px 0px;
}
.user>a{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #791a1e;
    padding: 7px;
    color: white;
}

/* 主体 */
.outlet{
    width: 1280px;
    margin: auto;
    position: relative;
}

/* 底部 */
footer{
    font-size: 14px;
    background-color: #791a1e;
    color: #fff;
    text-align: center;
    margin-top: 50px;
}
footer>div>a{
    width: 128px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-weight: bold;
}
footer>p{
    height: 22px;
    line-height: 22px;
}


